Main
Maquisistem Zlib StringCompress OCX 1.5

OCX to make in memory compression

You can compress strings or files using this OCX , and the compressed file will be generated in the Gzip format , and can be decompressed by Winzip ( Nico Mak Computing )

At this moment this is our fastest compression tool available

This ocx can compress files in the best compression ( "9" ) , at same speed or faster than Winzip or Pkzip with the "Maximum" compression .

And in some cases the output file is smaller than the same file generated by Winzip or Pkzip

What is new

Overview

Properties and methods

FAQ

Registering

About the author

Sample project

This ocx requires the zlib.dll in the system directory or in the path to work


Overview

This ocx requires the zlib32.dll in the same directory to work

This ocx can compress or uncompress strings or files using the Zlib scheme

The zlib scheme is based in the Zip compression , and this can compress strings or files with the same compression ratio of Zip

The algorithm used inside the Zlib compression is freeware , then you can use and distribute your software without copyrights problems


Properties and methods

Function ZlibCompress(StringToCompress As String, OutputString As String ) As Boolean

StringToCompress is the string to be compressed ,  OutputString is the compressed output , and the function return true if its all ok

Function ZlibUncompress(Stringtouncompress As String, OutputString As String) As Boolean

Stringtouncompress is the string to be uncompressed , OutputString is the uncompressed string , the function return true if its all ok

Function ZlibCompressFile(FiletoCompress As String, OutputFile As String , Optional CompressionLevel As String) As Boolean

FiletoCompress is the file to be compressed , OutputFile is the output compressed file , Optional CompressionLevel is the level to compress the file , and can be from "0" to "9" , and the "9"is the best compression , the function returns true if its all ok

Function ZlibUnCompressFile(FiletoUnCompress As String, OutputFile As String) As Boolean

FiletoUnCompress is the file to be uncompressed , OutputFile is the uncompressed output file , the function return tru if its all ok

Function AboutBox()

Show a aboutbox of the OCX


Faq

Can I compress strings ?

yes , with this control you will compress string in memory

This string is compatible with Zip ?

This ocx use the same algorithm , but the output isnot compatible with Zip

I need to pay royalties to somebody to use this ocx ?

No , the Zlib algorithm is freeware , you only need to pay for the registered OCX

But if the Zlib algorithm is freeware then why I need to pay for the registered OCX ?

What I am selling is my work over the development of this ocx , and if you want to use the Zlib algorithm without pay , then I sugest you develop your own string compression ocx using the zlib32.dll inside this package , because this dll is free , but my ocx to make it work  isnot freeware

This ocx is a good choice to compress files ?

Well , this ocx can compress files , but he is slower than Maquisistem Zlib Compress 2.0 , and I sugest you use the Zlib 2.0 instead the Stringcompress ocx if you want to compress files.


Registering

Thank you for consider the registration

And I need to explain that the zlib32.dll is freeware , but the Zlib Stringcompress isnot , and what I am selling is my work over the OCX

to register it , goto this link

http://members.tripod.com/~Maquisistem/products.htm

if the link above dont work , then copy and past it to your Netscape or Internet explorer

http://members.tripod.com/~Maquisistem/products.htm

and search for the Maquisistem Zlib StringCompress OCX 1.3

click in the

"You can order it online"

Maquisistem Ltda

homepage

http://members.tripod.com/~Maquisistem/index.html

email

Maquisistem@geocities.com


Author

N a m e: Bond

Function: Boss, Coder

Loves: VB5 ,

Hates: Delphi , Msvbvm50.dll

Famous

Words: "The limitation of VB5 is in the person behind the table"

Ricardo Santos Pereira is the developer of Maquisistem Ltda


Sample
Sample project

I have added a VB5 sample project to this distribution , this project show to you how to use this ocx

If you need anothers sample projects , then contact us by email

Maquisistem Ltda


What is new

This new version is at leat 5 times faster than the version 1.3 , and now the file is generated in the Gzip format , and can be decompressed by winzip